import React, { memo } from 'react';

import { getSizeImage } from "utils/format-utils";

import {
    CoverWrapper
} from "./style";

export default memo(function LJRadioRecommendCover(props) {
    const { info } = props;

    return (
        <CoverWrapper>
            <a href="/#">
                <img src={getSizeImage(info.picUrl, 150)} alt="" />
            </a>
            <a href="/#" className="text-nowrap name">{info.name}</a>
            <p className="text-nowrap">{info.desc}</p>
        </CoverWrapper>
    )
})
